package com.aizuda.boot.modules.common.constant.enums;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Author sangyirong
 * @ClassName FeishuInstanceStatus
 * @Version 1.0
 * @Date 2025/8/4 11:54
 */
@AllArgsConstructor
@Getter
public enum FeiShuInstanceStatus {

    PENDING("PENDING", "审批中"),
    APPROVED("APPROVED", "审批流程结束，结果为同意"),
    REJECTED("REJECTED", "审批流程结束，结果为拒绝"),
    CANCELED("CANCELED", "审批发起人撤回"),
    DELETED("DELETED", "审批被删除"),
    HIDDEN("HIDDEN", "状态隐藏（不显示状态）"),
    TERMINATED("TERMINATED", "审批终止");

    @Schema(description = "状态码（与飞书API对齐）")
    private final String key;

    @Schema(description = "中文描述")
    private final String desc;
}
